#include <stdio.h>
#include "list.h"
int main(int argc, const char *argv[])
{
     struct node *first = list_create(9);
     list_show(first);
     printf("\n");
     //int ret = func_kill(&first,9,1,5);
     //int ret = func_kill(&first,9,1,0);
     //int ret = func_kill(&first,9,1,10);
     int ret = func_kill(&first,9,2,5);
     if(ret == -1)
          printf("开始报数的位置不符合范围规定\n");
     else if(ret == -2)
          printf("每次移动的值不符合规定\n");
     list_show(first);
     printf("\n");
     return 0;
}
